package com.share.finance.risk.third.service;

import com.share.finance.risk.common.model.sys.LocalRequest;
import com.share.finance.risk.common.model.sys.ThirdRequest;
import com.share.finance.risk.third.model.db.InterfaceConfig;

public interface AsyncDealService {
    //渠道接口调用日志记录----如果缓存中有,则在缓存中取且记录
    public int channelRequestLogServiceSaveLog(InterfaceConfig configPo, ThirdRequest thirdRequest, String httpParam, String result, boolean isCache, long costTime);

    public int thirdRequestLogServiceSaveLog(ThirdRequest thirdRequest, Object res, long costTime, String reqIp);

    public int localRequestLogServiceSaveLog(LocalRequest localRequest, Object res, long costTime, String reqIp);
}
